package net.maku.module.service;

import net.maku.module.entity.AgHomeConfiguration;

import java.util.List;

public interface AgHomeConfigurationService {
    AgHomeConfiguration getByIdAndWebsite(Integer id, Integer websiteId);

    List<AgHomeConfiguration> getByWebsiteId(Integer websiteId);

    int addConfig(AgHomeConfiguration config);

    int updateConfig(AgHomeConfiguration config);

    default int deleteConfig(Integer id, Integer websiteId) {
        return 0;
    }
}
